package com.mlx.mylogin.base;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;

public class Configuration {

    private long timeOut = 3600000;

    private Collection<String> openServletPathCollection = new HashSet<>();

    private Collection<String> openServletPathPrefixCollection = new HashSet<>();

    private Collection<String> openServletPathSuffixCollection = new HashSet<>();


    private String tokenKey = "Authorization";

    public long getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(long timeOut) {
        this.timeOut = timeOut;
    }

    public Collection<String> getOpenServletPathCollection() {
        return openServletPathCollection;
    }

    public void setOpenServletPathCollection(Collection<String> openServletPathCollection) {
        this.openServletPathCollection = openServletPathCollection;
    }

    public Collection<String> getOpenServletPathPrefixCollection() {
        return openServletPathPrefixCollection;
    }

    public void setOpenServletPathPrefixCollection(Collection<String> openServletPathPrefixCollection) {
        this.openServletPathPrefixCollection = openServletPathPrefixCollection;
    }

    public Collection<String> getOpenServletPathSuffixCollection() {
        return openServletPathSuffixCollection;
    }

    public void setOpenServletPathSuffixCollection(Collection<String> openServletPathSuffixCollection) {
        this.openServletPathSuffixCollection = openServletPathSuffixCollection;
    }

    public String getTokenKey() {
        return tokenKey;
    }

    public void setTokenKey(String tokenKey) {
        this.tokenKey = tokenKey;
    }
}
